
from sprite import *
from common import *

class Bear(GameSprite):
	
	def __init__(self, **kwargs):
		GameSprite.__init__(self, "bear.png", **kwargs)
		self.right = False
		self.left = True
		self.speed = 80
		self.health = 30
		self.dammage = 8
		self.jump_force = 20
		self.name = "bear"
	
	def die(self):
		GameSprite.die(self)
		if (self.killed_by == "player"):
			kill_bear()